/*
 * $Id: update-2012-11-16.js 7 2013-03-04 05:52:15Z gabakyan@gmail.com $
 * $Author: gabakyan@gmail.com $
 * $Revision: 7 $
 * $Date: 2013-03-04 05:52:15 +0000 (Mon, 04 Mar 2013) $
 *
 * Copyright (c) 2013 Supply Chain Intelligence (SCI), Inc.
 * http://www.scintelligence.com/, Email: info@scintelligence.com
 * All rights reserved.
 *
 * This file is part of Logistics Map.
 *
 * Logistics Map is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * Logistics Map is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Logistics Map.  If not, see <http://www.gnu.org/licenses/>.
 */

db.locationImportTemplate.remove();
db.locationImportTemplate.insert({
    "_id" : ObjectId("50a63d726bbfc323166e5449"),
    "_class" : "com.sci.logisticsmap.data.model.LocationImportTemplate",
    "name" : "Template for US",
    "primary" : true,
    "defaultFlag" : false,
    "fields" : [
        {"type" : "TYPE"},
        //{"type" : "DC"},
        {"type" : "LABEL"},
        {"type" : "ADDRESS"},
        {"type" : "CITY"},
        {"type" : "STATE"},
        {"type" : "ZIP_CODE"}
        //{"type" : "COUNTRY"},
        //{"type" : "LAT"},
        //{"type" : "LNG"}
    ]
});
db.locationImportTemplate.insert({
    "_id" : ObjectId("50a63d726bbfc323166e544a"),
    "_class" : "com.sci.logisticsmap.data.model.LocationImportTemplate",
    "name" : "Template for Europe",
    "primary" : false,
    "defaultFlag" : false,
    "fields" : [
        {"type" : "TYPE"},
        {"type" : "LABEL"},
        {"type" : "ADDRESS"},
        {"type" : "CITY"},
        {"type" : "COUNTRY"}
    ]
});
db.locationImportTemplate.insert({
    "_id" : ObjectId("50a63d726bbfc323166e544b"),
    "_class" : "com.sci.logisticsmap.data.model.LocationImportTemplate",
    "name" : "Custom template",
    "primary" : false,
    "defaultFlag" : false,
    "fields" : [
        {"type" : "TYPE"},
        {"type" : "LABEL"},
        {"type" : "ADDRESS"}
    ]
});
